#include<iostream>
#include<string>
using namespace std;

template<class T>
void Swap(T& x, T& y)
{
	T tmp = x;
	x = y;
	y = tmp;
}

int main()
{
	int a = 1;
	int b = 0;
	cout << a << b << endl;

	Swap(a, b);

	cout << a << b << endl;
}